<% if can_edit_ecase?(@ref) %>
    <% if params[:slideshow_edition] %>
        <%= render :partial => '/slideshows/edit' %>
    <% else %>
    <table onmouseover="show_btn('slideshow')" onmouseout="hide_btn('slideshow')"  class="for_rbtn" ><tr><td class="for_rbtn" >
    <p id="btn_slideshow" style="margin-top:10px;">
      <%= link_to_remote image_tag('left_edit.gif'), {:update => "sv_admin" ,
       :after => "insertWaitingImg('sv_admin')",
       :url => {
          :controller => "slideshows", :action => :edit , :id => @slideshow}}  %>
    </p> </td><td>
    <div class="slideshow" id="slideshow"><%= render :partial => '/slideshows/player' %></div>
    </td></tr>
    </table>
    <% end %> 
<% else %>   
<div class="content_left_nedited">         
    <div class="slideshow" id="slideshow"><%= render :partial => '/slideshows/player' %></div>
        </div>
 <% end %>     